#ifndef DispatchHandler_h__
#define DispatchHandler_h__

#include "Common.h"
#include "GateClientHandler.h"
#include "JME_TcpSession.h"
#include "JME_Message.h"

USING_NAMESPACE_JMENGINE;
USING_NAMESPACE_JMENGINE_NET;

class DispatchHandler : 
	public GateMessageDispatcher
{
public:
	static void init();

private:
	static void sendMessageToAccount(JME_TcpSession::JME_TcpSessionPtr session, const JME_MessagePtr params);
	static void sendMessageToGame(JME_TcpSession::JME_TcpSessionPtr session, const JME_MessagePtr params);

};
#endif // DispatchHandler_h__
